
//
//  StrategyCollectionViewCell.m
//  课余时间
//
//  Created by zgr on 16/4/9.
//  Copyright © 2016年 张大少. All rights reserved.
//

#import "StrategyCollectionViewCell.h"

@implementation StrategyCollectionViewCell
-(instancetype)initWithFrame:(CGRect)frame
{
    if (self = [super initWithFrame:frame]) {
        
        _title = [[UILabel alloc]initWithFrame:CGRectMake(5, 5, KWIDTH/2 - 5, 30)];
        [self.contentView addSubview:_title];
        
    }
    return self;
}
-(void)setModel:(StrategyModel *)model
{
    _title.text = model.title;
    
}
@end
